package com.kakame.dibaaz.box;

import java.lang.reflect.Method;

import com.kakame.dibaaz.cons.RequestType;
import com.kakame.dibaaz.cons.ResponseType;

public class ReflectBox {
	/** 方法所在的类 */
	private Class<?> clazz;
	/** 方法名 */
	private Method method;
	/** 方法的参数 */
	private Class<?>[] arguments;
	/** 方法的请求url */
	private String[] urls;
	/** 方法的返回类型，这个返回类型指的是页面返回类型 */
	private ResponseType responseType;
	/** 方法的返回路径 */
	private String view;
	/** 方法的请求类型 */
	private RequestType[] requestType;

	public Class<?> getClazz() {
		return clazz;
	}

	public void setClazz(Class<?> clazz) {
		this.clazz = clazz;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public Class<?>[] getArguments() {
		return arguments;
	}

	public void setArguments(Class<?>[] arguments) {
		this.arguments = arguments;
	}

	public String[] getUrls() {
		return urls;
	}

	public void setUrls(String[] urls) {
		this.urls = urls;
	}

	public ResponseType getResponseType() {
		return responseType;
	}

	public void setResponseType(ResponseType responseType) {
		this.responseType = responseType;
	}

	public String getView() {
		return view;
	}

	public void setView(String view) {
		this.view = view;
	}

	public RequestType[] getRequestType() {
		return requestType;
	}

	public void setRequestType(RequestType[] requestType) {
		this.requestType = requestType;
	}

}
